﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Transports.Logging
{
    class FileLogger : ILogger
    {
        public static string input;
        public static string output;


        public void Log(string message)
         {
             using (StreamWriter writer = new StreamWriter(output, true))
             {
                DateTime date = DateTime.Now;
                writer.Write(date + " ");
                writer.WriteLine(message);
                writer.Close();
             }
         }
    }
}
